package com.roamer.audition.common.request;

import com.roamer.audition.common.enums.StatusEnum;
import com.roamer.validator.EnumValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 面试计划 查询对象
 *
 * @author roamer
 * @version V1.0
 * @date 2019/8/26 1:14 下午
 */
@ApiModel("面试计划查询Query")
@Data
public class AuditionRecordSimpleQuery implements Serializable {
    private static final long serialVersionUID = -3951402850295434514L;

    @ApiModelProperty(value = "开始日期区间起始", notes = "大于等于")
    private Long beginTimeFrom;

    @ApiModelProperty(value = "开始日期区间终止", notes = "小于等于")
    private Long beginTimeTo;

    @ApiModelProperty(value = "进行状态", allowableValues = "range[0, 2]")
    @EnumValue(enumClass = StatusEnum.class, enumMethod = "exist")
    private List<Byte> statusList;

}
